home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5821 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: inforamp.net!ts26-13
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borlad C++ - linker error
  5. Date: Tue, 06 Feb 96 22:06:01 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4f8j2c$ffl@sam.inforamp.net>
  8. References: <1996Feb6.114610@rclsgi.eng.ohio-state.edu>
  9. NNTP-Posting-Host: ts26-13.tor.inforamp.net
  10. Keywords: C++
  11. X-Newsreader: News Xpress Version 1.0 Beta #4
  12.  
  13. In article <1996Feb6.114610@rclsgi.eng.ohio-state.edu>,
  14.    khamitka@rclsgi.eng.ohio-state.edu (sudheer  khamitkar ) wrote:
  15. >
  16. >HI,
  17. >
  18. >I have written some programs in C++ on UNIX
  19. >systems and was trying to port them to a PC with
  20. >Borland C++-4.0.
  21. >
  22. >The programs compile alright, but when linking,
  23. >I get a linker error like this :
  24. >
  25. >Linker Error :  Undefined Symbol OwlMain( int, far* far*) in
  26. >                library file D:\BC4\LIB\owlwi.lib in module winmain.
  27. >
  28. >
  29. >I have no clue as to what is happening. If anyone
  30. >has any idea, please email me. Any help is appreciated.
  31. >
  32. >Thanks in advance.
  33. >
  34. >Bye,
  35. >Sudheer.
  36. >
  37.  
  38. You have toggled the switch to write an object windows application.  Unix 
  39. applications generally start with the function main(...).  Object windows 
  40. application start with the function OwlMain(...).  If you are trying to write 
  41. a character based program, then you cannot use object windows and must use 
  42. EasyWin instead.
  43.  
  44. Agrivar
  45.